<?php

use Biz\service\course\Course as sCourse;

class DetailContentAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {
        $courseId = $this->getRequest()->getQuery('course_id', 0);
        $content = sCourse::getDetailContent($courseId);
        $this->setSuccess(['list' => $content]);
    }
}